package org.tarry.springbootwebvalidation.domain.vo;

import lombok.Data;
import org.tarry.springbootwebvalidation.validation.annotation.CustomerCode;
@Data
public class CustomerQueryReq {
    private String name;

    @CustomerCode(canNull = false, message = "客户编号不能为空，且只能为17位数字")
    private String code;
    private String sex;
    private Integer age;
}
